package com.ruoyi.production.mapper.blade;

import java.util.List;
import com.ruoyi.common.annotation.PropertyInject;
import com.ruoyi.common.enums.InjectType;
import com.ruoyi.production.domain.blade.BladeApplyTemporary;

/**
 * 刀片临时申请Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface BladeApplyTemporaryMapper
{
    /**
     * 查询刀片临时申请
     *
     * @param bladeApplyTemporaryId 刀片临时申请ID
     * @return 刀片临时申请
     */
    public BladeApplyTemporary selectBladeApplyTemporaryById(Long bladeApplyTemporaryId);

    /**
     * 查询刀片临时申请列表
     *
     * @param bladeApplyTemporary 刀片临时申请
     * @return 刀片临时申请集合
     */
    public List<BladeApplyTemporary> selectBladeApplyTemporaryList(BladeApplyTemporary bladeApplyTemporary);

    /**
     * 新增刀片临时申请
     *
     * @param bladeApplyTemporary 刀片临时申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Insert)
    public int insertBladeApplyTemporary(BladeApplyTemporary bladeApplyTemporary);

    /**
     * 修改刀片临时申请
     *
     * @param bladeApplyTemporary 刀片临时申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Update)
    public int updateBladeApplyTemporary(BladeApplyTemporary bladeApplyTemporary);

    /**
     * 删除刀片临时申请
     *
     * @param bladeApplyTemporaryId 刀片临时申请ID
     * @return 结果
     */
    public int deleteBladeApplyTemporaryById(Long bladeApplyTemporaryId);

    /**
     * 批量删除刀片临时申请
     *
     * @param bladeApplyTemporaryIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteBladeApplyTemporaryByIds(Long[] bladeApplyTemporaryIds);
}
